const mongoose = require('mongoose');
// 5.创建文档的结构对象(设置对象数据类型格式)
let BookSchema = new mongoose.Schema({
  title: String,
  test: String,
});
// 6.创建模型对象
let BookModel = mongoose.model('vidoe', BookSchema);

module.exports = BookModel;